<option value="0"> - - Chọn loại - - </option>
<?php	
	require("../../../librarys/funs/quantri.php");
						
	$idtl = $_GET['idcl'];
	$qt=new quantri;
	$tintheloai = $qt->get_by_thutu("sanpham_loai", -1,-1,"and idcl = '$idtl'");
	while($rowtheloai=mysql_fetch_assoc($tintheloai)) {
?>
	<option value="<?php echo $rowtheloai['id']; ?>"><?php echo $rowtheloai['ten_vi']; ?></option>
<?php }?>